Optimal. Leaf size=24 \[ \frac{\tan ^{-1}\left (\frac{\sqrt{b} x}{\sqrt{a}}\right )}{\sqrt{a} \sqrt{b}} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.018048, antiderivative size = 24, normalized size of antiderivative = 1., number of steps used = 1, number of rules used = 1, integrand size = 9, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.111 \[ \frac{\tan ^{-1}\left (\frac{\sqrt{b} x}{\sqrt{a}}\right )}{\sqrt{a} \sqrt{b}} \]
Antiderivative was successfully verified.
[In] Int[(a + b*x^2)^(-1),x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 2.4669, size = 22, normalized size = 0.92 \[ \frac{\operatorname{atan}{\left (\frac{\sqrt{b} x}{\sqrt{a}} \right )}}{\sqrt{a} \sqrt{b}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate(1/(b*x**2+a),x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.0076092, size = 24, normalized size = 1. \[ \frac{\tan ^{-1}\left (\frac{\sqrt{b} x}{\sqrt{a}}\right )}{\sqrt{a} \sqrt{b}} \]
Antiderivative was successfully verified.
[In] Integrate[(a + b*x^2)^(-1),x]
[Out]
_______________________________________________________________________________________
Maple [A] time = 0.002, size = 16, normalized size = 0.7 \[{1\arctan \left ({bx{\frac{1}{\sqrt{ab}}}} \right ){\frac{1}{\sqrt{ab}}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int(1/(b*x^2+a),x)
[Out]
_______________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \[ \text{Exception raised: ValueError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(1/(b*x^2 + a),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.203606, size = 1, normalized size = 0.04 \[ \left [\frac{\log \left (\frac{2 \, a b x +{\left (b x^{2} - a\right )} \sqrt{-a b}}{b x^{2} + a}\right )}{2 \, \sqrt{-a b}}, \frac{\arctan \left (\frac{\sqrt{a b} x}{a}\right )}{\sqrt{a b}}\right ] \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(1/(b*x^2 + a),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [A] time = 0.286827, size = 53, normalized size = 2.21 \[ - \frac{\sqrt{- \frac{1}{a b}} \log{\left (- a \sqrt{- \frac{1}{a b}} + x \right )}}{2} + \frac{\sqrt{- \frac{1}{a b}} \log{\left (a \sqrt{- \frac{1}{a b}} + x \right )}}{2} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(1/(b*x**2+a),x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.207529, size = 20, normalized size = 0.83 \[ \frac{\arctan \left (\frac{b x}{\sqrt{a b}}\right )}{\sqrt{a b}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(1/(b*x^2 + a),x, algorithm="giac")
[Out]